package com.qiyun.framework.base;

import android.app.Application;

import com.qiyun.framework.helper.BitmapHelper;
import com.qiyun.framework.helper.DBHelper;
import com.qiyun.framework.helper.SharePreHelper;

import org.xutils.BuildConfig;
import org.xutils.x;


/**
 * app初始化
 */
public class BaseApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        //初始化常用类
        SharePreHelper.init(this);

        x.Ext.init(this);
        x.Ext.setDebug(BuildConfig.DEBUG);

        DBHelper.init(this);
        BitmapHelper.init(this);
        SharePreHelper.init(this);
    }
}
